<fieldset>
    <legend>条件搜索</legend>
    <form action="{:request()->url()}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get" onsubmit="return false">
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">时间</label>
            <label class="layui-input-inline">
                <input class="layui-input" data-date-range name="date" placeholder="请选择日期" value="{:input('date')}">
            </label>
        </div>

        <div class="layui-form-item layui-inline pull-right">
            <input type="hidden" name="order_id" value="{:input('id')}">
            <button class="layui-btn layui-btn-primary" type="submit"><i class="layui-icon">&#xe615;</i> 搜 索</button>
        </div>
    </form>
</fieldset>

<script>
    window.form.render();
</script>